package user
import (
	//"github.com/jinzhu/gorm"
	//_ "github.com/jinzhu/gorm/dialects/mysql"
	//"time"
	//"time"
)
type UserWealth struct {
	UserId uint `gorm:"column:userId"`
	AreaId uint16 `gorm:"column:areaId"`
	Nickname string `gorm:"column:nickname"`
	Head string `gorm:"column:head"`
	Exp int32 `gorm:"column:exp"`
	Lv int32 `gorm:"column:userId"`
	Energy float64 `gorm:"column:energy"`
}
type ChartResult struct {
	UserId uint `gorm:"column:userId"`
	Nickname string `gorm:"column:nickname"`
	Head string `gorm:"column:head"`
	Exp int32 `gorm:"column:exp"`
	Index int
}

type UserWealthResult struct {
	UserId uint `gorm:"column:userId"`
	Exp int32 `gorm:"column:exp"`
}
type UserWaterResult struct {
	SelfWater int8 `gorm:"column:selfWater"`
	OtherWater int8 `gorm:"column:otherWater"`
	ReceiveCount int8 `gorm:"column:receiveCount"`
	GiveCount int8 `gorm:"column:giveCount"`
}

